package com.iwhalecloud.uncc.db;

public final class DatasourceContextHolder {
    private static final ThreadLocal<String> CONTEXT_HOLDER = new ThreadLocal<String>();

    private DatasourceContextHolder() {
    }

    public static String getDs() {
        return (String) CONTEXT_HOLDER.get();
    }

    public static void setDs(String code) {
    	CONTEXT_HOLDER.set(code);
    }

}
